package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Menu;

import java.util.List;

/**
 * 系统管理-权限资源表 服务类
 * @author mi
 * @create 2023/3/10 14:20
 */
public interface MenuService extends IService<Menu> {

    List<Menu> listMenuTree(List<Menu> list);

    ResponseResult listMenuApi(Integer id);

    ResponseResult insertMenu(Menu menu);

    ResponseResult updateMenu(Menu menu);

    ResponseResult deleteMenuById(Integer id);
}
